std::unordered_multiset::bucket_size

From Cppreference

Jump to: navigation, search
​size_type bucket_size( size_type n ) const;
(C++0x feature)

Returns the number of elements in the bucket with index n.

Contents

Parameters

n - the index of the bucket to examine

Return value

the number of elements in the bucket n.

Complexity

constant

See also

bucket_count
returns the number of buckets
(public member function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages